#ifndef GAMEHALL_H
#define GAMEHALL_H

#include <QWidget>
#include <QPainter>
#include <QIcon>
#include <QPixmap>
#include <QSound>
#include <QSoundEffect>
#include <gameselect.h>
#include <QPropertyAnimation>
#include "thread.h"

QT_BEGIN_NAMESPACE
namespace Ui { class GameHall; }
QT_END_NAMESPACE

class GameHall : public QWidget
{
    Q_OBJECT

public:
    GameHall(QWidget *parent = nullptr);
    ~GameHall();

    void paintEvent(QPaintEvent *event);

private slots:
    void on_start_clicked();

    void on_quit_clicked();
    //void loopSound();

    void Anime_name();

private:
    Ui::GameHall *ui;
    Thread *thread;
};
#endif // GAMEHALL_H
